package me.monster.smarttraffic.bo;

/**
 * @description
 * @author: Created jiangjiwei in 2020-02-14 10:21
 */
public class RoadLight {
    private String roadName;
    private int red;
    private int green;
    private int yellow;

    public String getRoadName() {
        return roadName == null ? "" : roadName;
    }

    public void setRoadName(String roadName) {
        this.roadName = roadName;
    }

    public int getRed() {
        return red;
    }

    public void setRed(int red) {
        this.red = red;
    }

    public int getGreen() {
        return green;
    }

    public void setGreen(int green) {
        this.green = green;
    }

    public int getYellow() {
        return yellow;
    }

    public void setYellow(int yellow) {
        this.yellow = yellow;
    }

    @Override
    public String toString() {
        return "RoadLight{" +
                "roadName='" + roadName + '\'' +
                ", red=" + red +
                ", green=" + green +
                ", yellow=" + yellow +
                '}';
    }
}
